package com.ctshk.rpc.certificate.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.rpc.certificate.dto.CertificateAcceptDTO;
import com.ctshk.rpc.certificate.dto.CertificateHkMacauDTO;
import com.ctshk.rpc.certificate.dto.CertificateMacauTravelDTO;
import com.ctshk.rpc.certificate.req.CertificateAcceptPageReq;
import com.ctshk.rpc.certificate.req.CertificateHkMacauReq;
import com.ctshk.rpc.certificate.req.ProcCommonCertificateReq;
import com.ctshk.rpc.certificate.req.QueryAppointmentInfoReq;

/**
 * <p>
 * 港澳通行证 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-25
 */
public interface ICertificateHkMacauService {
    /**
     * 港澳通行证登记
     * @param certificateHkMacauReq
     * @param userId
     * @return
     */
    Result saveHkMacau(CertificateHkMacauReq certificateHkMacauReq, Long userId);

    /**
     * 港澳通行证信息详情
     * @param id
     * @return
     */
    CertificateHkMacauDTO queryDetail(Long id);

    /**
     * 修改港澳通行证信息
     * @param certificateHkMacauReq
     * @param userId
     * @return
     */
    Result updateHkMacau(CertificateHkMacauReq certificateHkMacauReq, Long userId);

    /**
     * 处理港澳通行证预约信息
     * @param procReserveHkMacauReq
     * @param userId
     * @return
     */
    Result procReserveHkMacau(ProcCommonCertificateReq procReserveHkMacauReq, Long userId);

    /**
     * 证件受理列表
     * @param acceptPageReq
     * @return
     */
    PageResponse<CertificateAcceptDTO> queryCertificateAcceptList(CertificateAcceptPageReq acceptPageReq);


    Result<CertificateMacauTravelDTO> queryAppointmentInfo(QueryAppointmentInfoReq queryAppointmentInfoReq, Long userId);

    Result cancelAppointment(Long id, Long userId);
}
